package com.mt.roll.wms.service;

import com.mt.roll.core.params.IdParam;
import com.mt.roll.core.vo.IdVo;
import com.mt.roll.core.vo.PageVo;
import com.mt.roll.core.vo.R;
import com.mt.roll.wms.params.SubidWorkorderParam;
import com.mt.roll.wms.params.SubidWorkorderQueryParam;
import com.mt.roll.wms.vo.SubidWorkorderVo;

/**
 * @auther yanyang
 * @date 2022/3/10 15:45
 */

public interface SubidWorkorderService {

    R<PageVo<SubidWorkorderVo>> page(SubidWorkorderQueryParam subidWorkorderQueryParam);

    R<SubidWorkorderVo> getById(IdParam idParam);

    R<IdVo> add(SubidWorkorderParam subidWorkorderParam);

    R<IdVo> update(SubidWorkorderParam subidWorkorderParam);

    R<IdVo> delete(IdParam idParam);

}
